/*
 * cam_fetch.h
 * Michael du Breuil
 */
#pragma once

#include <stdint.h>
#include <pthread.h>
#include <curl/curl.h>
#include "network.h"

extern CURL *cam_curl;
extern cam_settings_t cam_settings;
extern pthread_mutex_t cam_mutex;
extern pthread_cond_t  cam_cond;

int cam_init(void);
void cam_shutdown(void);
void *cam_run();
